package com.ysd.lis.controller;


import com.ysd.common.Result;
import com.ysd.lis.controller.pub.BaseController;
import com.ysd.lis.request.TrainingUserUpdateSignParam;
import com.ysd.lis.service.WkTrainingUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 培训计划人员表 前端控制器
 * </p>
 *
 * @author LiuQi
 * @since 2024-03-20
 */
@RestController
@RequestMapping("/wk/training/user")
public class WkTrainingUserController extends BaseController {

    @Autowired
    WkTrainingUserService wkTrainingUserService;

    @PostMapping("/updateSignStatusByUserId")
    public Result updateSignStatusByUserId(@RequestBody TrainingUserUpdateSignParam trainingUserUpdateSignParam) {
        return wkTrainingUserService.updateSignStatusByUserId(trainingUserUpdateSignParam);
    }
}
